package com.revzone.demo001.PermissionModule.controller;


import com.revzone.demo001.entity.OtherEntity.R;
import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *  游客角色可以访问的页面
 * @author lsa
 * @since 2023-03-27
 */
@RestController
@Api(tags = "游客管理", description = "用于游客管理的相关API")
@RequestMapping("/guest")
public class GuestController {
    private static final Logger logger = LoggerFactory.getLogger(LoginController.class);
    @GetMapping("/welcome")
    public R login() {
        logger.info("游客登录");
        return R.ok("欢迎访问游客页面！_演示成功");
    }
}
